package com.ukao.cashregister.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by ukaodev on 2017/7/1.
 */

public class serviceTimeBean  extends  BaseBean<serviceTimeBean> implements Serializable{



        /**
         * pageNum : 0
         * pageSize : 0
         * size : 8
         * orderBy : null
         * startRow : 0
         * endRow : 8
         * total : 0
         * pages : 0
         * list : [{"id":336,"mercId":1,"cityId":1,"storeId":null,"timeStart":"8:00","timeEnd":"10:00","type":1,"status":1},{"id":337,"mercId":1,"cityId":1,"storeId":null,"timeStart":"10:00","timeEnd":"12:00","type":1,"status":1},{"id":338,"mercId":1,"cityId":1,"storeId":null,"timeStart":"12:00","timeEnd":"14:00","type":1,"status":0},{"id":339,"mercId":1,"cityId":1,"storeId":null,"timeStart":"14:00","timeEnd":"16:00","type":1,"status":1},{"id":340,"mercId":1,"cityId":1,"storeId":null,"timeStart":"16:00","timeEnd":"18:00","type":1,"status":1},{"id":341,"mercId":1,"cityId":1,"storeId":null,"timeStart":"18:00","timeEnd":"20:00","type":1,"status":1},{"id":342,"mercId":1,"cityId":1,"storeId":null,"timeStart":"20:00","timeEnd":"22:00","type":1,"status":1},{"id":343,"mercId":1,"cityId":1,"storeId":null,"timeStart":"22:00","timeEnd":"24:00","type":1,"status":0}]
         * firstPage : 0
         * prePage : 0
         * nextPage : 0
         * lastPage : 0
         * isFirstPage : false
         * isLastPage : true
         * hasPreviousPage : false
         * hasNextPage : false
         * navigatePages : 8
         * navigatepageNums : []
         */

        private int pageNum;
        private int pageSize;
        private int size;
        private Object orderBy;
        private int startRow;
        private int endRow;
        private int total;
        private int pages;
        private int firstPage;
        private int prePage;
        private int nextPage;
        private int lastPage;
        private boolean isFirstPage;
        private boolean isLastPage;
        private boolean hasPreviousPage;
        private boolean hasNextPage;
        private int navigatePages;
        private ArrayList<ListBean> list;
        private List<?> navigatepageNums;

        public int getPageNum() {
            return pageNum;
        }

        public void setPageNum(int pageNum) {
            this.pageNum = pageNum;
        }

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getSize() {
            return size;
        }

        public void setSize(int size) {
            this.size = size;
        }

        public Object getOrderBy() {
            return orderBy;
        }

        public void setOrderBy(Object orderBy) {
            this.orderBy = orderBy;
        }

        public int getStartRow() {
            return startRow;
        }

        public void setStartRow(int startRow) {
            this.startRow = startRow;
        }

        public int getEndRow() {
            return endRow;
        }

        public void setEndRow(int endRow) {
            this.endRow = endRow;
        }

        public int getTotal() {
            return total;
        }

        public void setTotal(int total) {
            this.total = total;
        }

        public int getPages() {
            return pages;
        }

        public void setPages(int pages) {
            this.pages = pages;
        }

        public int getFirstPage() {
            return firstPage;
        }

        public void setFirstPage(int firstPage) {
            this.firstPage = firstPage;
        }

        public int getPrePage() {
            return prePage;
        }

        public void setPrePage(int prePage) {
            this.prePage = prePage;
        }

        public int getNextPage() {
            return nextPage;
        }

        public void setNextPage(int nextPage) {
            this.nextPage = nextPage;
        }

        public int getLastPage() {
            return lastPage;
        }

        public void setLastPage(int lastPage) {
            this.lastPage = lastPage;
        }

        public boolean isIsFirstPage() {
            return isFirstPage;
        }

        public void setIsFirstPage(boolean isFirstPage) {
            this.isFirstPage = isFirstPage;
        }

        public boolean isIsLastPage() {
            return isLastPage;
        }

        public void setIsLastPage(boolean isLastPage) {
            this.isLastPage = isLastPage;
        }

        public boolean isHasPreviousPage() {
            return hasPreviousPage;
        }

        public void setHasPreviousPage(boolean hasPreviousPage) {
            this.hasPreviousPage = hasPreviousPage;
        }

        public boolean isHasNextPage() {
            return hasNextPage;
        }

        public void setHasNextPage(boolean hasNextPage) {
            this.hasNextPage = hasNextPage;
        }

        public int getNavigatePages() {
            return navigatePages;
        }

        public void setNavigatePages(int navigatePages) {
            this.navigatePages = navigatePages;
        }

        public ArrayList<ListBean> getList() {
            return list;
        }

        public void setList(ArrayList<ListBean> list) {
            this.list = list;
        }

        public List<?> getNavigatepageNums() {
            return navigatepageNums;
        }

        public void setNavigatepageNums(List<?> navigatepageNums) {
            this.navigatepageNums = navigatepageNums;
        }

        public static class ListBean  implements Serializable{
            /**
             * id : 336
             * mercId : 1
             * cityId : 1
             * storeId : null
             * timeStart : 8:00
             * timeEnd : 10:00
             * type : 1
             * status : 1
             */

            private boolean  enableds;
            private  String  time;
            private int id;
            private int mercId;
            private int cityId;
            private Object storeId;
            private String timeStart;
            private String timeEnd;
            private int type;
            private int status;
            private   boolean  ischeck;

            public boolean isEnableds() {
                return enableds;
            }

            public void setEnableds(boolean enableds) {
                this.enableds = enableds;
            }

            public boolean ischeck() {
                return ischeck;
            }

            public void setIscheck(boolean ischeck) {
                this.ischeck = ischeck;
            }

            public String getTime() {

                return getTimeStart()+"-"+getTimeEnd();
            }

            public void setTime(String time) {
                this.time = time;
            }

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public int getMercId() {
                return mercId;
            }

            public void setMercId(int mercId) {
                this.mercId = mercId;
            }

            public int getCityId() {
                return cityId;
            }

            public void setCityId(int cityId) {
                this.cityId = cityId;
            }

            public Object getStoreId() {
                return storeId;
            }

            public void setStoreId(Object storeId) {
                this.storeId = storeId;
            }

            public String getTimeStart() {
                return timeStart;
            }

            public void setTimeStart(String timeStart) {
                this.timeStart = timeStart;
            }

            public String getTimeEnd() {
                return timeEnd;
            }

            public void setTimeEnd(String timeEnd) {
                this.timeEnd = timeEnd;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public int getStatus() {
                return status;
            }

            public void setStatus(int status) {
                this.status = status;
            }
        }

}
